package com.tm.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class SpSkuInfoCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SpSkuInfoCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSkuIdIsNull() {
            addCriterion("sku_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNotNull() {
            addCriterion("sku_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuIdEqualTo(Integer value) {
            addCriterion("sku_id =", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotEqualTo(Integer value) {
            addCriterion("sku_id <>", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThan(Integer value) {
            addCriterion("sku_id >", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_id >=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThan(Integer value) {
            addCriterion("sku_id <", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThanOrEqualTo(Integer value) {
            addCriterion("sku_id <=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIn(List<Integer> values) {
            addCriterion("sku_id in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotIn(List<Integer> values) {
            addCriterion("sku_id not in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdBetween(Integer value1, Integer value2) {
            addCriterion("sku_id between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_id not between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNull() {
            addCriterion("type_id is null");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNotNull() {
            addCriterion("type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTypeIdEqualTo(Integer value) {
            addCriterion("type_id =", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotEqualTo(Integer value) {
            addCriterion("type_id <>", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThan(Integer value) {
            addCriterion("type_id >", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_id >=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThan(Integer value) {
            addCriterion("type_id <", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("type_id <=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdIn(List<Integer> values) {
            addCriterion("type_id in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotIn(List<Integer> values) {
            addCriterion("type_id not in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("type_id between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("type_id not between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdIsNull() {
            addCriterion("merchants_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdIsNotNull() {
            addCriterion("merchants_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdEqualTo(Integer value) {
            addCriterion("merchants_id =", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdNotEqualTo(Integer value) {
            addCriterion("merchants_id <>", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdGreaterThan(Integer value) {
            addCriterion("merchants_id >", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("merchants_id >=", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdLessThan(Integer value) {
            addCriterion("merchants_id <", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdLessThanOrEqualTo(Integer value) {
            addCriterion("merchants_id <=", value, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdIn(List<Integer> values) {
            addCriterion("merchants_id in", values, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdNotIn(List<Integer> values) {
            addCriterion("merchants_id not in", values, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdBetween(Integer value1, Integer value2) {
            addCriterion("merchants_id between", value1, value2, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andMerchantsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("merchants_id not between", value1, value2, "merchantsId");
            return (Criteria) this;
        }

        public Criteria andSkuSourceIsNull() {
            addCriterion("sku_source is null");
            return (Criteria) this;
        }

        public Criteria andSkuSourceIsNotNull() {
            addCriterion("sku_source is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSourceEqualTo(String value) {
            addCriterion("sku_source =", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceNotEqualTo(String value) {
            addCriterion("sku_source <>", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceGreaterThan(String value) {
            addCriterion("sku_source >", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceGreaterThanOrEqualTo(String value) {
            addCriterion("sku_source >=", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceLessThan(String value) {
            addCriterion("sku_source <", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceLessThanOrEqualTo(String value) {
            addCriterion("sku_source <=", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceLike(String value) {
            addCriterion("sku_source like", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceNotLike(String value) {
            addCriterion("sku_source not like", value, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceIn(List<String> values) {
            addCriterion("sku_source in", values, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceNotIn(List<String> values) {
            addCriterion("sku_source not in", values, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceBetween(String value1, String value2) {
            addCriterion("sku_source between", value1, value2, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuSourceNotBetween(String value1, String value2) {
            addCriterion("sku_source not between", value1, value2, "skuSource");
            return (Criteria) this;
        }

        public Criteria andSkuTypeIsNull() {
            addCriterion("sku_type is null");
            return (Criteria) this;
        }

        public Criteria andSkuTypeIsNotNull() {
            addCriterion("sku_type is not null");
            return (Criteria) this;
        }

        public Criteria andSkuTypeEqualTo(String value) {
            addCriterion("sku_type =", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeNotEqualTo(String value) {
            addCriterion("sku_type <>", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeGreaterThan(String value) {
            addCriterion("sku_type >", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_type >=", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeLessThan(String value) {
            addCriterion("sku_type <", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeLessThanOrEqualTo(String value) {
            addCriterion("sku_type <=", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeLike(String value) {
            addCriterion("sku_type like", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeNotLike(String value) {
            addCriterion("sku_type not like", value, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeIn(List<String> values) {
            addCriterion("sku_type in", values, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeNotIn(List<String> values) {
            addCriterion("sku_type not in", values, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeBetween(String value1, String value2) {
            addCriterion("sku_type between", value1, value2, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuTypeNotBetween(String value1, String value2) {
            addCriterion("sku_type not between", value1, value2, "skuType");
            return (Criteria) this;
        }

        public Criteria andSkuNameIsNull() {
            addCriterion("sku_name is null");
            return (Criteria) this;
        }

        public Criteria andSkuNameIsNotNull() {
            addCriterion("sku_name is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNameEqualTo(String value) {
            addCriterion("sku_name =", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotEqualTo(String value) {
            addCriterion("sku_name <>", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameGreaterThan(String value) {
            addCriterion("sku_name >", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameGreaterThanOrEqualTo(String value) {
            addCriterion("sku_name >=", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLessThan(String value) {
            addCriterion("sku_name <", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLessThanOrEqualTo(String value) {
            addCriterion("sku_name <=", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameLike(String value) {
            addCriterion("sku_name like", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotLike(String value) {
            addCriterion("sku_name not like", value, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameIn(List<String> values) {
            addCriterion("sku_name in", values, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotIn(List<String> values) {
            addCriterion("sku_name not in", values, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameBetween(String value1, String value2) {
            addCriterion("sku_name between", value1, value2, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNameNotBetween(String value1, String value2) {
            addCriterion("sku_name not between", value1, value2, "skuName");
            return (Criteria) this;
        }

        public Criteria andSkuNoIsNull() {
            addCriterion("sku_no is null");
            return (Criteria) this;
        }

        public Criteria andSkuNoIsNotNull() {
            addCriterion("sku_no is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNoEqualTo(String value) {
            addCriterion("sku_no =", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotEqualTo(String value) {
            addCriterion("sku_no <>", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoGreaterThan(String value) {
            addCriterion("sku_no >", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoGreaterThanOrEqualTo(String value) {
            addCriterion("sku_no >=", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLessThan(String value) {
            addCriterion("sku_no <", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLessThanOrEqualTo(String value) {
            addCriterion("sku_no <=", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLike(String value) {
            addCriterion("sku_no like", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotLike(String value) {
            addCriterion("sku_no not like", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoIn(List<String> values) {
            addCriterion("sku_no in", values, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotIn(List<String> values) {
            addCriterion("sku_no not in", values, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoBetween(String value1, String value2) {
            addCriterion("sku_no between", value1, value2, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotBetween(String value1, String value2) {
            addCriterion("sku_no not between", value1, value2, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuFormatIsNull() {
            addCriterion("sku_format is null");
            return (Criteria) this;
        }

        public Criteria andSkuFormatIsNotNull() {
            addCriterion("sku_format is not null");
            return (Criteria) this;
        }

        public Criteria andSkuFormatEqualTo(String value) {
            addCriterion("sku_format =", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatNotEqualTo(String value) {
            addCriterion("sku_format <>", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatGreaterThan(String value) {
            addCriterion("sku_format >", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatGreaterThanOrEqualTo(String value) {
            addCriterion("sku_format >=", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatLessThan(String value) {
            addCriterion("sku_format <", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatLessThanOrEqualTo(String value) {
            addCriterion("sku_format <=", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatLike(String value) {
            addCriterion("sku_format like", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatNotLike(String value) {
            addCriterion("sku_format not like", value, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatIn(List<String> values) {
            addCriterion("sku_format in", values, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatNotIn(List<String> values) {
            addCriterion("sku_format not in", values, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatBetween(String value1, String value2) {
            addCriterion("sku_format between", value1, value2, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andSkuFormatNotBetween(String value1, String value2) {
            addCriterion("sku_format not between", value1, value2, "skuFormat");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllIsNull() {
            addCriterion("stock_amount_all is null");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllIsNotNull() {
            addCriterion("stock_amount_all is not null");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllEqualTo(Integer value) {
            addCriterion("stock_amount_all =", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllNotEqualTo(Integer value) {
            addCriterion("stock_amount_all <>", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllGreaterThan(Integer value) {
            addCriterion("stock_amount_all >", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllGreaterThanOrEqualTo(Integer value) {
            addCriterion("stock_amount_all >=", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllLessThan(Integer value) {
            addCriterion("stock_amount_all <", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllLessThanOrEqualTo(Integer value) {
            addCriterion("stock_amount_all <=", value, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllIn(List<Integer> values) {
            addCriterion("stock_amount_all in", values, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllNotIn(List<Integer> values) {
            addCriterion("stock_amount_all not in", values, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllBetween(Integer value1, Integer value2) {
            addCriterion("stock_amount_all between", value1, value2, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountAllNotBetween(Integer value1, Integer value2) {
            addCriterion("stock_amount_all not between", value1, value2, "stockAmountAll");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestIsNull() {
            addCriterion("stock_amount_rest is null");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestIsNotNull() {
            addCriterion("stock_amount_rest is not null");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestEqualTo(Integer value) {
            addCriterion("stock_amount_rest =", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestNotEqualTo(Integer value) {
            addCriterion("stock_amount_rest <>", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestGreaterThan(Integer value) {
            addCriterion("stock_amount_rest >", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestGreaterThanOrEqualTo(Integer value) {
            addCriterion("stock_amount_rest >=", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestLessThan(Integer value) {
            addCriterion("stock_amount_rest <", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestLessThanOrEqualTo(Integer value) {
            addCriterion("stock_amount_rest <=", value, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestIn(List<Integer> values) {
            addCriterion("stock_amount_rest in", values, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestNotIn(List<Integer> values) {
            addCriterion("stock_amount_rest not in", values, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestBetween(Integer value1, Integer value2) {
            addCriterion("stock_amount_rest between", value1, value2, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andStockAmountRestNotBetween(Integer value1, Integer value2) {
            addCriterion("stock_amount_rest not between", value1, value2, "stockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestIsNull() {
            addCriterion("lock_amount_rest is null");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestIsNotNull() {
            addCriterion("lock_amount_rest is not null");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestEqualTo(Integer value) {
            addCriterion("lock_amount_rest =", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestNotEqualTo(Integer value) {
            addCriterion("lock_amount_rest <>", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestGreaterThan(Integer value) {
            addCriterion("lock_amount_rest >", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestGreaterThanOrEqualTo(Integer value) {
            addCriterion("lock_amount_rest >=", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestLessThan(Integer value) {
            addCriterion("lock_amount_rest <", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestLessThanOrEqualTo(Integer value) {
            addCriterion("lock_amount_rest <=", value, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestIn(List<Integer> values) {
            addCriterion("lock_amount_rest in", values, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestNotIn(List<Integer> values) {
            addCriterion("lock_amount_rest not in", values, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestBetween(Integer value1, Integer value2) {
            addCriterion("lock_amount_rest between", value1, value2, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andLockAmountRestNotBetween(Integer value1, Integer value2) {
            addCriterion("lock_amount_rest not between", value1, value2, "lockAmountRest");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNull() {
            addCriterion("sku_price is null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNotNull() {
            addCriterion("sku_price is not null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceEqualTo(BigDecimal value) {
            addCriterion("sku_price =", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_price <>", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThan(BigDecimal value) {
            addCriterion("sku_price >", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price >=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThan(BigDecimal value) {
            addCriterion("sku_price <", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price <=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIn(List<BigDecimal> values) {
            addCriterion("sku_price in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_price not in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price not between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceIsNull() {
            addCriterion("promotion_price is null");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceIsNotNull() {
            addCriterion("promotion_price is not null");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceEqualTo(BigDecimal value) {
            addCriterion("promotion_price =", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceNotEqualTo(BigDecimal value) {
            addCriterion("promotion_price <>", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceGreaterThan(BigDecimal value) {
            addCriterion("promotion_price >", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("promotion_price >=", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceLessThan(BigDecimal value) {
            addCriterion("promotion_price <", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("promotion_price <=", value, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceIn(List<BigDecimal> values) {
            addCriterion("promotion_price in", values, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceNotIn(List<BigDecimal> values) {
            addCriterion("promotion_price not in", values, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("promotion_price between", value1, value2, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("promotion_price not between", value1, value2, "promotionPrice");
            return (Criteria) this;
        }

        public Criteria andTwMoneyIsNull() {
            addCriterion("tw_money is null");
            return (Criteria) this;
        }

        public Criteria andTwMoneyIsNotNull() {
            addCriterion("tw_money is not null");
            return (Criteria) this;
        }

        public Criteria andTwMoneyEqualTo(BigDecimal value) {
            addCriterion("tw_money =", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyNotEqualTo(BigDecimal value) {
            addCriterion("tw_money <>", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyGreaterThan(BigDecimal value) {
            addCriterion("tw_money >", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("tw_money >=", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyLessThan(BigDecimal value) {
            addCriterion("tw_money <", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("tw_money <=", value, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyIn(List<BigDecimal> values) {
            addCriterion("tw_money in", values, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyNotIn(List<BigDecimal> values) {
            addCriterion("tw_money not in", values, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tw_money between", value1, value2, "twMoney");
            return (Criteria) this;
        }

        public Criteria andTwMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tw_money not between", value1, value2, "twMoney");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNull() {
            addCriterion("audit_state is null");
            return (Criteria) this;
        }

        public Criteria andAuditStateIsNotNull() {
            addCriterion("audit_state is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStateEqualTo(String value) {
            addCriterion("audit_state =", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotEqualTo(String value) {
            addCriterion("audit_state <>", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThan(String value) {
            addCriterion("audit_state >", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateGreaterThanOrEqualTo(String value) {
            addCriterion("audit_state >=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThan(String value) {
            addCriterion("audit_state <", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLessThanOrEqualTo(String value) {
            addCriterion("audit_state <=", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateLike(String value) {
            addCriterion("audit_state like", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotLike(String value) {
            addCriterion("audit_state not like", value, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateIn(List<String> values) {
            addCriterion("audit_state in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotIn(List<String> values) {
            addCriterion("audit_state not in", values, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateBetween(String value1, String value2) {
            addCriterion("audit_state between", value1, value2, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditStateNotBetween(String value1, String value2) {
            addCriterion("audit_state not between", value1, value2, "auditState");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNull() {
            addCriterion("audit_time is null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNotNull() {
            addCriterion("audit_time is not null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeEqualTo(String value) {
            addCriterion("audit_time =", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotEqualTo(String value) {
            addCriterion("audit_time <>", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThan(String value) {
            addCriterion("audit_time >", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThanOrEqualTo(String value) {
            addCriterion("audit_time >=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThan(String value) {
            addCriterion("audit_time <", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThanOrEqualTo(String value) {
            addCriterion("audit_time <=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLike(String value) {
            addCriterion("audit_time like", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotLike(String value) {
            addCriterion("audit_time not like", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIn(List<String> values) {
            addCriterion("audit_time in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotIn(List<String> values) {
            addCriterion("audit_time not in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeBetween(String value1, String value2) {
            addCriterion("audit_time between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotBetween(String value1, String value2) {
            addCriterion("audit_time not between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIsNull() {
            addCriterion("sku_unit is null");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIsNotNull() {
            addCriterion("sku_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSkuUnitEqualTo(String value) {
            addCriterion("sku_unit =", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotEqualTo(String value) {
            addCriterion("sku_unit <>", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitGreaterThan(String value) {
            addCriterion("sku_unit >", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitGreaterThanOrEqualTo(String value) {
            addCriterion("sku_unit >=", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLessThan(String value) {
            addCriterion("sku_unit <", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLessThanOrEqualTo(String value) {
            addCriterion("sku_unit <=", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLike(String value) {
            addCriterion("sku_unit like", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotLike(String value) {
            addCriterion("sku_unit not like", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIn(List<String> values) {
            addCriterion("sku_unit in", values, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotIn(List<String> values) {
            addCriterion("sku_unit not in", values, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitBetween(String value1, String value2) {
            addCriterion("sku_unit between", value1, value2, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotBetween(String value1, String value2) {
            addCriterion("sku_unit not between", value1, value2, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateIsNull() {
            addCriterion("sku_onsale_state is null");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateIsNotNull() {
            addCriterion("sku_onsale_state is not null");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateEqualTo(String value) {
            addCriterion("sku_onsale_state =", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateNotEqualTo(String value) {
            addCriterion("sku_onsale_state <>", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateGreaterThan(String value) {
            addCriterion("sku_onsale_state >", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateGreaterThanOrEqualTo(String value) {
            addCriterion("sku_onsale_state >=", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateLessThan(String value) {
            addCriterion("sku_onsale_state <", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateLessThanOrEqualTo(String value) {
            addCriterion("sku_onsale_state <=", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateLike(String value) {
            addCriterion("sku_onsale_state like", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateNotLike(String value) {
            addCriterion("sku_onsale_state not like", value, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateIn(List<String> values) {
            addCriterion("sku_onsale_state in", values, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateNotIn(List<String> values) {
            addCriterion("sku_onsale_state not in", values, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateBetween(String value1, String value2) {
            addCriterion("sku_onsale_state between", value1, value2, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleStateNotBetween(String value1, String value2) {
            addCriterion("sku_onsale_state not between", value1, value2, "skuOnsaleState");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeIsNull() {
            addCriterion("sku_onsale_time is null");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeIsNotNull() {
            addCriterion("sku_onsale_time is not null");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeEqualTo(String value) {
            addCriterion("sku_onsale_time =", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeNotEqualTo(String value) {
            addCriterion("sku_onsale_time <>", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeGreaterThan(String value) {
            addCriterion("sku_onsale_time >", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_onsale_time >=", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeLessThan(String value) {
            addCriterion("sku_onsale_time <", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeLessThanOrEqualTo(String value) {
            addCriterion("sku_onsale_time <=", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeLike(String value) {
            addCriterion("sku_onsale_time like", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeNotLike(String value) {
            addCriterion("sku_onsale_time not like", value, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeIn(List<String> values) {
            addCriterion("sku_onsale_time in", values, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeNotIn(List<String> values) {
            addCriterion("sku_onsale_time not in", values, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeBetween(String value1, String value2) {
            addCriterion("sku_onsale_time between", value1, value2, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOnsaleTimeNotBetween(String value1, String value2) {
            addCriterion("sku_onsale_time not between", value1, value2, "skuOnsaleTime");
            return (Criteria) this;
        }

        public Criteria andSkuOrderIsNull() {
            addCriterion("sku_order is null");
            return (Criteria) this;
        }

        public Criteria andSkuOrderIsNotNull() {
            addCriterion("sku_order is not null");
            return (Criteria) this;
        }

        public Criteria andSkuOrderEqualTo(Integer value) {
            addCriterion("sku_order =", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderNotEqualTo(Integer value) {
            addCriterion("sku_order <>", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderGreaterThan(Integer value) {
            addCriterion("sku_order >", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_order >=", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderLessThan(Integer value) {
            addCriterion("sku_order <", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderLessThanOrEqualTo(Integer value) {
            addCriterion("sku_order <=", value, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderIn(List<Integer> values) {
            addCriterion("sku_order in", values, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderNotIn(List<Integer> values) {
            addCriterion("sku_order not in", values, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderBetween(Integer value1, Integer value2) {
            addCriterion("sku_order between", value1, value2, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_order not between", value1, value2, "skuOrder");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdIsNull() {
            addCriterion("sku_sale_state_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdIsNotNull() {
            addCriterion("sku_sale_state_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdEqualTo(Integer value) {
            addCriterion("sku_sale_state_id =", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdNotEqualTo(Integer value) {
            addCriterion("sku_sale_state_id <>", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdGreaterThan(Integer value) {
            addCriterion("sku_sale_state_id >", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_sale_state_id >=", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdLessThan(Integer value) {
            addCriterion("sku_sale_state_id <", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdLessThanOrEqualTo(Integer value) {
            addCriterion("sku_sale_state_id <=", value, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdIn(List<Integer> values) {
            addCriterion("sku_sale_state_id in", values, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdNotIn(List<Integer> values) {
            addCriterion("sku_sale_state_id not in", values, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdBetween(Integer value1, Integer value2) {
            addCriterion("sku_sale_state_id between", value1, value2, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleStateIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_sale_state_id not between", value1, value2, "skuSaleStateId");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeIsNull() {
            addCriterion("sku_sale_type is null");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeIsNotNull() {
            addCriterion("sku_sale_type is not null");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeEqualTo(String value) {
            addCriterion("sku_sale_type =", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeNotEqualTo(String value) {
            addCriterion("sku_sale_type <>", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeGreaterThan(String value) {
            addCriterion("sku_sale_type >", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_sale_type >=", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeLessThan(String value) {
            addCriterion("sku_sale_type <", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeLessThanOrEqualTo(String value) {
            addCriterion("sku_sale_type <=", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeLike(String value) {
            addCriterion("sku_sale_type like", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeNotLike(String value) {
            addCriterion("sku_sale_type not like", value, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeIn(List<String> values) {
            addCriterion("sku_sale_type in", values, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeNotIn(List<String> values) {
            addCriterion("sku_sale_type not in", values, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeBetween(String value1, String value2) {
            addCriterion("sku_sale_type between", value1, value2, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andSkuSaleTypeNotBetween(String value1, String value2) {
            addCriterion("sku_sale_type not between", value1, value2, "skuSaleType");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(String value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(String value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(String value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(String value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(String value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(String value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLike(String value) {
            addCriterion("add_time like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotLike(String value) {
            addCriterion("add_time not like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<String> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<String> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(String value1, String value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(String value1, String value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Integer value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Integer value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Integer value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Integer value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Integer> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Integer> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNull() {
            addCriterion("edit_time is null");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNotNull() {
            addCriterion("edit_time is not null");
            return (Criteria) this;
        }

        public Criteria andEditTimeEqualTo(String value) {
            addCriterion("edit_time =", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotEqualTo(String value) {
            addCriterion("edit_time <>", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThan(String value) {
            addCriterion("edit_time >", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThanOrEqualTo(String value) {
            addCriterion("edit_time >=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThan(String value) {
            addCriterion("edit_time <", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThanOrEqualTo(String value) {
            addCriterion("edit_time <=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLike(String value) {
            addCriterion("edit_time like", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotLike(String value) {
            addCriterion("edit_time not like", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIn(List<String> values) {
            addCriterion("edit_time in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotIn(List<String> values) {
            addCriterion("edit_time not in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeBetween(String value1, String value2) {
            addCriterion("edit_time between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotBetween(String value1, String value2) {
            addCriterion("edit_time not between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIsNull() {
            addCriterion("edit_user_id is null");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIsNotNull() {
            addCriterion("edit_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andEditUserIdEqualTo(Integer value) {
            addCriterion("edit_user_id =", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotEqualTo(Integer value) {
            addCriterion("edit_user_id <>", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdGreaterThan(Integer value) {
            addCriterion("edit_user_id >", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("edit_user_id >=", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdLessThan(Integer value) {
            addCriterion("edit_user_id <", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("edit_user_id <=", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIn(List<Integer> values) {
            addCriterion("edit_user_id in", values, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotIn(List<Integer> values) {
            addCriterion("edit_user_id not in", values, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdBetween(Integer value1, Integer value2) {
            addCriterion("edit_user_id between", value1, value2, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("edit_user_id not between", value1, value2, "editUserId");
            return (Criteria) this;
        }

        public Criteria andIsStatusIsNull() {
            addCriterion("is_status is null");
            return (Criteria) this;
        }

        public Criteria andIsStatusIsNotNull() {
            addCriterion("is_status is not null");
            return (Criteria) this;
        }

        public Criteria andIsStatusEqualTo(String value) {
            addCriterion("is_status =", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusNotEqualTo(String value) {
            addCriterion("is_status <>", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusGreaterThan(String value) {
            addCriterion("is_status >", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusGreaterThanOrEqualTo(String value) {
            addCriterion("is_status >=", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusLessThan(String value) {
            addCriterion("is_status <", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusLessThanOrEqualTo(String value) {
            addCriterion("is_status <=", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusLike(String value) {
            addCriterion("is_status like", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusNotLike(String value) {
            addCriterion("is_status not like", value, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusIn(List<String> values) {
            addCriterion("is_status in", values, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusNotIn(List<String> values) {
            addCriterion("is_status not in", values, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusBetween(String value1, String value2) {
            addCriterion("is_status between", value1, value2, "isStatus");
            return (Criteria) this;
        }

        public Criteria andIsStatusNotBetween(String value1, String value2) {
            addCriterion("is_status not between", value1, value2, "isStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}